package com.hzw.saas.api.hpc.query;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;

/**
 * @Description
 * @Date 2021/7/19 11:28 上午
 * @Created by sonam
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel("合同使用参数")
public class ContractUsableQuery {

    @NotBlank(message = "指定的合同ID不能为空")
    @ApiModelProperty(value = "合同ID")
    private String contractId;

    @NotBlank(message = "指定的HPC-ID不能为空")
    @ApiModelProperty(value = "HPC-ID")
    private String hpcAccountId;

    @ApiModelProperty(value = "slurm队列")
    private String slurmAccount;
}
